<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
 <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0"/>
<title>商铺详情</title>
<link rel="stylesheet" type="text/css" href="${pageContext.request.contextPath}/resource/detail/css/aui.css" />
</head>
<style>
.aui-iconfont {
    font-size: 22px !important;
}
    *{
        font-family:Microsoft YaHei ;
    }
</style>
<body>
  <div class="aui-user-view">
<li class="aui-user-view-cell aui-img">

    <div class="aui-img-body">
        <span style="font-weight: bold">${guide.subject }</span>
        <p class='aui-ellipsis-1' id="time">${guide.createdAt }</p>
        <div style="margin-top: 20px">
          	${guide.content }
        </div>
    </div>
</li>
</div>
</body>
<script src="${pageContext.request.contextPath}/resource/assets/js/jquery-2.0.3.min.js"></script>
             <script>
             function unixToDate(unixTime, isFull, timeZone) {
            	    if (typeof (timeZone) == 'number')
            	    {
            	        unixTime = parseInt(unixTime) + parseInt(timeZone) * 60 * 60;
            	    }
            	    var time = new Date(parseInt(unixTime));
            	    var ymdhis = "";
            	    ymdhis += time.getFullYear() + "/";
            	    ymdhis += (time.getMonth()+1) + "/";
            	    ymdhis += time.getDate();
            	    if (isFull === true)
            	    {
            	        ymdhis += " " + time.getHours() + ":";
            	        ymdhis += time.getMinutes() + ":";
            	        ymdhis += time.getSeconds();
            	    }
            	    return ymdhis;
            	}
             	var time = "${guide.createdAt }";
             	$(function(){
             		$("#time").html(unixToDate(time,true));
             	});
             	
             </script>  

</html>